chore(ai-gateway): remove unused MORPH provider and morph warp grep model#4004
Merged
Conversation
…odel Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Executive SummaryClean removal of the unused MORPH gateway provider and Files Reviewed (5 files)
Fix these issues in Kilo Cloud Reviewed by claude-4.6-sonnet-20260217 · 504,825 tokens Review guidance: REVIEW.md from base branch |
Contributor
|
Did we get rid of the experimental option already client side? |
lambertjosh
approved these changes
Jun 12, 2026
Contributor
Author
|
I don't know, but this stopped working a long time ago. |
Contributor
Author
|
I'll make a PR |
iscekic
added a commit
that referenced
this pull request
Jun 13, 2026
…ests Main merged PR #4004 which deleted the morph provider. The two test files that exercised the rejection branch of modelServesAllGatewayChatApis used morph as the only available Kilo-exclusive model on a chat_completions-only gateway. With morph gone, no real catalog entry satisfies that condition. Both test files now stub findKiloExclusiveModel via jest.mock/requireActual so that the marker id 'test-exclusive/alibaba-only' returns a KiloExclusiveModel with gateway: 'alibaba'. The real PROVIDERS.ALIBABA definition supports only chat_completions, so the rejection path is exercised without relying on any specific provider file being present in the catalog.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
morph_warp_grep_free_model(morph-warp-grep-v2) Kilo-exclusive model and deletedproviders/morph.ts.MORPHgateway provider fromprovider-definitions.tsand dropped'morph'from theProviderIdunion — the only model routed through this gateway was the one removed above, so it is no longer used.'morph-warp-grep-v2'toforbiddenFreeModelIdsso stale clients receive an appropriate error (per the AI gateway policy for removed free models).gemma_4_26b_a4b_it_free_modelinstead of the removed morph model.Verification
Visual Changes
N/A
Reviewer Notes
'morph'entries inopenrouter/inference-provider-id.ts(OpenRouterInferenceProviderIdSchemaandVercelNonUserByokInferenceProviderIdSchema) are intentionally left in place — those are external upstream inference provider IDs for routing/BYOK on OpenRouter and Vercel, distinct from our internalMORPHgateway provider.